package com.usb2uartagent;

/**
 * Copyright (c) 2016, SuZhou CsjBot. All Rights Reserved. <br>
 * www.csjbot.com<br>
 * <p>
 * Created by 浦耀宗 at 2016/11/07 0007-19:19.<br>
 * Email: puyz@csjbot.com<br>
 */
public class Error {

    public class Usb {
        public static final int INIT_OK = 0;
        public static final int NO_SUPPORT_USB_HOST_API_ERROR = 1;
        public static final int CANNOT_OPEN_MAYBE_NO_PERMISSION = 2;
        public static final int CANNOT_OPEN_CHIP_NO_SUPPORT = 3;
        public static final int NO_MORE_DEVICES_FOUND=4;
        public static final int DEVICE_NOT_CONNECTED=5;


        public static final int SEND_SUCCESS = 0;
        public static final int SEND_NO_USB_CONNECT_ERROR = 1;
        public static final int SEND_DEVICE_NULL_ERROR = 2;
        public static final int SEND_IO_ERROR = 3;

        public static final int READ_DATA_BULKTRANSFER_ERROR = 1;
    }
}
